#include "TestCase.h"
#include "ImageStore.h"
#include <wx/wx.h>
#include <wx/treectrl.h>

TestCase::TestCase(const wxString& name)
{
	this->name = new wxString(name);
}

TestCase::~TestCase()
{
	delete name;
}

bool TestCase::AssertEqual(long a, long b)
{
	return a == b;
}

void TestCase::Draw(wxTreeCtrl& tree, wxTreeItemId& parent)
{
	tree.AppendItem(
		parent, *name, 
		ImageStore::GetTestExplorerImageIndex(_T("tc_uninit.png")));
}

void TestCase::Draw(wxOutputStream& stream)
{
}